package com.zdkj.subway.support.dto.in;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * @support: 三永华通科技有限公司
 * @author: cui_com
 * @version: 1.0
 * @Date: 2020-01-16 16:50:09.
 * @Description: <p>
 * 节假日定义
 * </p>
 */
@Data
public class SwParamHolidayDTO implements Serializable {

    private static final long serialVersionUID = -593244889853017401L;

    @ApiModelProperty(value = "唯一标识")
    private Integer id;
    /**
     * 节假日代码
     */
    @ApiModelProperty(value = "节假日代码")
    private String code;
    /**
     * 开始日期
     */
    @ApiModelProperty(value = "开始日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate startDate;
    /**
     * 结束日期
     */
    @ApiModelProperty(value = "结束日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endDate;

}
